/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package es.us.mwm;

/**
 *
 * @author Felix
 */

public class Punto2D {
    private float x;
    private float y;
    public Punto2D() {
        super();
    }
    public void setX(float x) {
this.x = x; }
    public float getX() {
        return x;
    }
    public void setY(float y) {
this.y = y; }
    public float getY() {
        return y;
} 
public void moverX (float offsetX){ x += offsetX;
}
public void moverY (float offsetY){
y += offsetY; }



}